package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 会员金额记录对象返回 xx_member_amount_record
 * 
 * @author ruoyi
 * @date 2025-02-08
 */
public class XxMemberAmountRecordVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long recordId;

    /** 会员id */
    private Long memberId;

    /** 会员id */
    @Excel(name = "会员名称")
    private String memberName;

    @Excel(name = "会员卡号")
    private String memberNo;

    @Excel(name = "手机号")
    private String phone;

    @Excel(name = "会员地址")
    private String address;

    /** 记录类型（0充值  1消费） */
    @Excel(name = "记录类型", readConverterExp = "0=充值,1=消费")
    private String recordType;

    /** 记录金额 */
    @Excel(name = "记录金额")
    private BigDecimal recordAmount;

    /** 消费类型 */
    @Excel(name = "消费类型")
    private String consumeType;

    /** 记录前金额 */
    @Excel(name = "记录前金额")
    private BigDecimal recordBeforeAmount;

    /** 记录后金额 */
    @Excel(name = "记录后金额")
    private BigDecimal recordAfterAmount;

    private BigDecimal recordBeforeGiftAmount;

    private BigDecimal recordAfterGiftAmount;

    private BigDecimal recordGiftAmount;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setRecordType(String recordType) 
    {
        this.recordType = recordType;
    }

    public String getRecordType() 
    {
        return recordType;
    }
    public void setRecordAmount(BigDecimal recordAmount) 
    {
        this.recordAmount = recordAmount;
    }

    public BigDecimal getRecordAmount() 
    {
        return recordAmount;
    }
    public void setConsumeType(String consumeType) 
    {
        this.consumeType = consumeType;
    }

    public String getConsumeType() 
    {
        return consumeType;
    }
    public void setRecordBeforeAmount(BigDecimal recordBeforeAmount) 
    {
        this.recordBeforeAmount = recordBeforeAmount;
    }

    public BigDecimal getRecordBeforeAmount() 
    {
        return recordBeforeAmount;
    }
    public void setRecordAfterAmount(BigDecimal recordAfterAmount) 
    {
        this.recordAfterAmount = recordAfterAmount;
    }

    public BigDecimal getRecordAfterAmount() 
    {
        return recordAfterAmount;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberNo() {
        return memberNo;
    }

    public void setMemberNo(String memberNo) {
        this.memberNo = memberNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getRecordBeforeGiftAmount() {
        return recordBeforeGiftAmount;
    }

    public void setRecordBeforeGiftAmount(BigDecimal recordBeforeGiftAmount) {
        this.recordBeforeGiftAmount = recordBeforeGiftAmount;
    }

    public BigDecimal getRecordAfterGiftAmount() {
        return recordAfterGiftAmount;
    }

    public void setRecordAfterGiftAmount(BigDecimal recordAfterGiftAmount) {
        this.recordAfterGiftAmount = recordAfterGiftAmount;
    }

    public BigDecimal getRecordGiftAmount() {
        return recordGiftAmount;
    }

    public void setRecordGiftAmount(BigDecimal recordGiftAmount) {
        this.recordGiftAmount = recordGiftAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("memberId", getMemberId())
            .append("recordType", getRecordType())
            .append("recordAmount", getRecordAmount())
            .append("consumeType", getConsumeType())
            .append("recordBeforeAmount", getRecordBeforeAmount())
            .append("recordAfterAmount", getRecordAfterAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
